package com.hwhhhh.graduationproject.dao.repo;

import org.springframework.data.jpa.repository.JpaRepository;
import com.hwhhhh.graduationproject.dao.entity.UserEntity;

/**
 * @Description detail
 * Created by Hwhhhh on 2021/3/3 21:40
 */
public interface UserRepo extends JpaRepository<UserEntity, Integer> {
    UserEntity findByEmailAndPassword(String email, String password);
    UserEntity findByEmail(String email);
    UserEntity findById(int id);
}
